#include "Gun.hpp"

using namespace std;

Gun::Gun() : ammo(6), maxAmmo(6), damage(10)
{}

void Gun::setAmmo(int ammo){this->ammo=ammo;}
void Gun::shot(){ammo--;}
void Gun::reload(){ammo=maxAmmo;}
string Gun::getName(){return name;}
int Gun::getCadence(){return cadence;}
int Gun::getAmmo(){return ammo;}
int Gun::getDamage(){return damage;}
